class UserType {
  // ignore: non_constant_identifier_names
  final String create_time;
  // ignore: non_constant_identifier_names
  final String update_time;
  final int id;
  final String username;
  final String nickname;
  final String desc;
  final String cover;
  final int hot;
  // ignore: non_constant_identifier_names
  final int type;
  // ignore: non_constant_identifier_names

  UserType(
      {this.create_time,
      this.update_time,
      this.id,
      this.username,
      this.nickname,
      this.desc,
      this.cover,
      this.type,
      this.hot});

  factory UserType.fromJson(Map<String, dynamic> json) {
    return UserType(
        create_time: json['create_time'] as String,
        cover: json['cover'] as String,
        id: json['id'] as int,
        desc: json['desc'] as String,
        username: json['username'] as String,
        nickname: json['nickname'] as String,
        type: json['type'] as int,
        update_time: json['update_time'] as String);
  }
}
